package com.hm.hall.commons.dao;


import com.hm.hall.commons.domain.MobileSession;
import com.hm.hall.commons.domain.MobileSessionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MobileSessionMapper {
    int countByExample(MobileSessionExample example);

    int deleteByExample(MobileSessionExample example);

    int deleteByPrimaryKey(Long userId);

    int insert(MobileSession record);

    int insertSelective(MobileSession record);

    int insertSelectiveGetKey(MobileSession record);

    List<MobileSession> selectByExample(MobileSessionExample example);

    MobileSession selectByPrimaryKey(Long userId);

    int updateByExampleSelective(@Param("record") MobileSession record, @Param("example") MobileSessionExample example);

    int updateByExample(@Param("record") MobileSession record, @Param("example") MobileSessionExample example);

    int updateByPrimaryKeySelective(MobileSession record);

    int updateByPrimaryKey(MobileSession record);
}